package com.example.graphic.AI;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 分类请求实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClassifyRequest implements AIRequest {
    
    /** 图片URL */
    private String url;
    
    @Override
    public boolean validate() {
        return url != null && !url.trim().isEmpty();
    }
}